package com.dashan;

import com.dashan.service.HelloService;

public class RpcClientTest {
	
	public static void main(String[] args) {
		for(int i = 0; i < 10; i++) {
			long now = System.currentTimeMillis();
			HelloService helloService = (HelloService)RpcClient.createProxyObj(HelloService.class);
			System.out.println(helloService.sayHello("dashan"));
			System.out.println(System.currentTimeMillis() - now);
		}
	}
}
